Skip to content

Conversation

@vegegoku
Copy link
Member

@vegegoku vegegoku commented Jan 9, 2025

Update, migrate, improve log help links

Fix #10042
See also gwtproject/gwt-site#386

@vegegoku vegegoku force-pushed the helpinfo-update-test branch from 0d70267 to c6beedc Compare January 9, 2025 15:08
@niloc132 niloc132 added this to the 2.13 milestone Jan 11, 2025
@vegegoku vegegoku force-pushed the helpinfo-update-test branch 3 times, most recently from 8c6ec73 to e88410f Compare December 4, 2025 08:30
@vegegoku vegegoku force-pushed the helpinfo-update-test branch from e88410f to ecbb8d5 Compare December 4, 2025 08:51
@vegegoku vegegoku requested a review from niloc132 December 4, 2025 11:01
@niloc132 niloc132 added the ready This PR has been reviewed by a maintainer and is ready for a CI run. label Dec 4, 2025

public GwtprojectOrgHelpInfo(String relativeUrl) {
try {
url = new URL("https://gwtproject.org/doc/latest/gwt-dev-help/" + relativeUrl);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we append ?version=2.13 as per Colin's suggestion in the issue description?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think i'd vote an anchor rather than queryparam, since an anchor will work with just plain html, we won't need custom routing or whatever. On the other hand, if we add JS that helps handle this, we can read either queryparam or anchor?

Probably can most easily do this with About.getGwtVersion().

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With queryparam we could link to
https://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#important (if we wanted tod)
directly by inserting the version param before the #. Also queryparam shows in server logs if you want to check how these pages are used. Both of these possible advantages are hypothetical and come at a cost of adding a bit of JS 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready This PR has been reviewed by a maintainer and is ready for a CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update, migrate, improve log help links

3 participants